package com.wzdigit.wms.basic.domain.inventory;

import com.baomidou.mybatisplus.annotation.*;
import com.wzdigit.framework.orm.model.BasicDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author Any
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_GOODS_LOG")
@KeySequence(value = "WMS_GOODS_LOG_SEQ", clazz = Integer.class)
public class GoodsLog extends BasicDomain {
    private static final long serialVersionUID = 1L;
    /**
     * 货品日志ID
     */
    @ApiModelProperty(value = "货品日志ID")
    @TableId(value = "GOODS_LOG_ID", type = IdType.INPUT)
    private Integer goodsLogId;
    /**
     * 库存事务ID
     */
    @ApiModelProperty(value = "库存事务ID")
    @TableField(value = "INV_TRANS_ID")
    private Integer invTransId;
    /**
     * 货品SN
     */
    @ApiModelProperty(value = "货品SN")
    @TableField(value = "GOODS_SN")
    private String goodsSn;
    /**
     * 操作代码
     */
    @ApiModelProperty(value = "操作代码")
    @TableField(value = "OP_CODE")
    private String opCode;
    /**
     * 原因
     */
    @ApiModelProperty(value = "原因")
    @TableField(value = "REASON")
    private String reason;
    /**
     * 变更内容，用json格式存储
     */
    @ApiModelProperty(value = "变更内容，用json格式存储")
    @TableField(value = "UPDATE_CONTENT")
    private String updateContent;
    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人")
    @TableField(value = "OPERATOR")
    private String operator;
    /**
     * 用户自定义字段1
     */
    @ApiModelProperty(value = "用户自定义字段1")
    @TableField(value = "UDF1")
    private String udf1;
    /**
     * 用户自定义字段2
     */
    @ApiModelProperty(value = "用户自定义字段2")
    @TableField(value = "UDF2")
    private String udf2;
    /**
     * 用户自定义字段3
     */
    @ApiModelProperty(value = "用户自定义字段3")
    @TableField(value = "UDF3")
    private String udf3;
    /**
     * 用户自定义字段4
     */
    @ApiModelProperty(value = "用户自定义字段4")
    @TableField(value = "UDF4")
    private String udf4;
    /**
     * 用户自定义字段5
     */
    @ApiModelProperty(value = "用户自定义字段5")
    @TableField(value = "UDF5")
    private String udf5;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @TableField(value = "COMMENTS")
    private String comments;
}
